//package com.tender.config.listener;
//
//import com.tender.constants.Constants;
//import org.apache.rocketmq.client.producer.SendResult;
//import org.apache.rocketmq.spring.core.RocketMQTemplate;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
//
//@Component
//public class RocketMQProducer {
//
//    @Autowired
//    private RocketMQTemplate rocketMqTemplate;
//
//
//    public SendResult setMsg(String msg) {
//        return rocketMqTemplate.syncSend(Constants.ROCKET_MSG_GROUP, msg);
//    }
//
//}
